package com.lagou.service;

/**
 * 服务降级：虚假服务
 */
public class HelloServiceMock implements HelloService {

    @Override
    public String sayHello(String name) throws InterruptedException {
        return "超时！Mock返回。";
    }

    @Override
    public String sayHelloA(String name) throws InterruptedException {
        return "超时！Mock返回。";
    }

    @Override
    public String sayHelloB(String name) throws InterruptedException {
        return "超时！Mock返回。";
    }

    @Override
    public String sayHelloC(String name) throws InterruptedException {
        return "超时！Mock返回。";
    }
}
